package com.hwadee.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    /**
     * 根据 ID 查询用户数量
     * @return 用户数量
     */
    @Select("SELECT COUNT(*) FROM user")
    int countUsers();
}